<clickhouse>
    <profiles>
        <default>
            <max_memory_usage>10000000000</max_memory_usage>
            <force_index_by_date>0</force_index_by_date>
            <replication_alter_partitions_sync>2</replication_alter_partitions_sync>
            <constraints>
                <max_memory_usage>
                    <min>5000000000</min>
                    <max>20000000000</max>
                </max_memory_usage>
               <force_index_by_date>
                   <readonly/>
               </force_index_by_date>
               <replication_alter_partitions_sync>
                   <readonly/>
               </replication_alter_partitions_sync>
            </constraints>
        </default>

        <readonly_profile>
            <readonly>1</readonly>
        </readonly_profile>

        <no_dll_profile>
            <allow_ddl>0</allow_ddl>
        </no_dll_profile>
    </profiles>

    <users>
        <default>
            <password></password>
            <networks incl="networks" replace="replace">
                <ip>::/0</ip>
            </networks>
            <profile>default</profile>
            <quota>default</quota>
        </default>
        <readonly_user>
            <password></password>
            <networks incl="networks" replace="replace">
                <ip>::/0</ip>
            </networks>
            <profile>readonly_profile</profile>
            <quota>default</quota>
        </readonly_user>
        <no_dll_user>
            <password></password>
            <networks incl="networks" replace="replace">
                <ip>::/0</ip>
            </networks>
            <profile>no_dll_profile</profile>
            <quota>default</quota>
        </no_dll_user>
    </users>

    <quotas>
        <default>
        </default>
    </quotas>
</clickhouse>
